package com.example.flower_shop.service;

import com.example.flower_shop.entity.Category;

import java.util.List;

public interface CategoryService extends BaseService<Category, Long> {

    List<Category> findByNameContaining(String name);

    Category createCategory(String name, String description);

    Category updateCategory(Long id, String name, String description);

    boolean existsByName(String name);
}